import map from '../list/map'
import property from './property'

function pluck(obj, key) {
  return map(obj, property(key))
}

export default pluck
